using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Resources;
using System.Runtime.Serialization;
using System.Text;
using System.Threading.Tasks;

namespace KPIS.GERP.Models.ICM
{
	[DataContract, Table("IcmSysPprFor")]
    public class SysPprFor
    {
        public SysPprFor()
        {
            this.PrePurchaseRequests = new HashSet<PrePurchaseRequest>();
        }
    

		[Key, DatabaseGenerated(DatabaseGeneratedOption.Identity)]
		[DataMember, Display(Name = "PprForId", ResourceType = typeof(Resources.SysPprForResource))]
        public int PprForId { get; set; }

		[DataMember, Display(Name = "PprForName", ResourceType = typeof(Resources.SysPprForResource))]
        public string PprForName { get; set; }

		[DataMember, Display(Name = "PprForDescr", ResourceType = typeof(Resources.SysPprForResource))]
        public string PprForDescr { get; set; }

		[DataMember, Display(Name = "RecordStatus", ResourceType = typeof(Resources.SysPprForResource))]
        public string RecordStatus { get; set; }

		[DataMember, Display(Name = "CreatedBy", ResourceType = typeof(Resources.SysPprForResource))]
        public Nullable<int> CreatedBy { get; set; }

		[DataMember, Display(Name = "CreatedWhen", ResourceType = typeof(Resources.SysPprForResource))]
        public Nullable<System.DateTime> CreatedWhen { get; set; }

		[DataMember, Display(Name = "UpdatedBy", ResourceType = typeof(Resources.SysPprForResource))]
        public Nullable<int> UpdatedBy { get; set; }

		[DataMember, Display(Name = "UpdatedWhen", ResourceType = typeof(Resources.SysPprForResource))]
        public Nullable<System.DateTime> UpdatedWhen { get; set; }


        [DataMember, Display(Name = "ICollection<PrePurchaseRequest>", ResourceType = typeof(Resources.SysPprForResource))]
        public virtual ICollection<PrePurchaseRequest> PrePurchaseRequests { get; set; }

    }
}